﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Scoreboard.Basement.Controls
{
	public partial class InfoWindow : FloatableWindow
	{
		public FrameworkElement CustomContent
		{
			get { return (FrameworkElement)GetValue(CustomContentProperty); }
			set { SetValue(CustomContentProperty, value); }
		}

		// Using a DependencyProperty as the backing store for CustomContent.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty CustomContentProperty =
			DependencyProperty.Register("CustomContent", typeof(FrameworkElement), typeof(InfoWindow), new PropertyMetadata(null));
		
		public InfoWindow()
		{
			InitializeComponent();
		}

		private void OKButton_Click(object sender, RoutedEventArgs e)
		{
			DialogResult = true;
		}
	}
}

